#ifndef HALO_H
#define HALO_H

#include <stdint.h>

struct halo {
  int64_t id;
  float pos[6];
  float m, r, mgrav, vmax, rvmax, rs, vrms, J[3], energy, spin;
  int64_t num_p, num_child_particles, p_start, desc, flags;
  float min_pos_err, min_vel_err;
};

struct extra_halo_info {
  int64_t child, next_cochild, prev_cochild;
  int64_t sub_of;
};

#endif /* HALO_H */
